
def linux():
    global qdmdt,bjmdt
    linux="linux.txt"
    linux=open(linux,"r",encoding='UTF-8')
    linuxt=linux.read()
    linux.close()
    for line in bjmdt:
        mz=line.split("\t")[2]
        if (not mz in qdmdt) and mz in linuxt:
            print(line.split("\t")[1],end='，')

def qqqun():
    global qdmdt, bjmdt
    for line in bjmdt:
        id=line.split("\t")[2]
        mz=line.split("\t")[1]
        if (not mz in qdmdt)and(not id in qdmdt) :
            print(line.split("\t")[1],end='，')
if __name__ == '__main__':
    global qdmdt, bjmdt
    qdmd="qdmd.txt"
    bjmd="bjmd.txt"

    qdmd=open(qdmd,"r",encoding='UTF-8')
    bjmd=open(bjmd,"r",encoding='UTF-8')
    qdmdt=qdmd.read()
    bjmdt=bjmd.read()
    qdmd.close()
    bjmd.close()
    bjmdt=bjmdt.split("\n")
    qqqun()